package com.unittec.drainage.provider.auth.excel.export.impl.handler;

import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Workbook;

/**
 * @Description:
 * @author: chenjiawang
 * @CreateDate: 2020/6/23 10:01
 */
public interface IBaseHandler<T> {

    /**
     * 获取导出数据
     *
     * @param queryParam
     * @return
     */
    List<T> getData(Map<String, Object> queryParam);

    /**
     * excle文件处理日期
     * 
     * @param workbook
     * @param queryParam
     */
    void handleExcel(Workbook workbook, Map<String, Object> queryParam);
}
